package club.justwill.single.bean;

import club.justwill.single.persistence.document.UserAdvice;

/**
 * Created by luoyu on 2/23/16.
 */
public class UserAdviceResp {
    private String userId;

    private String phoneNumber;

    private String userName;

    private String type;

    private String content;

    public UserAdviceResp() {}
    public UserAdviceResp(UserAdvice userAdvice) {
        setUserId(String.valueOf(userAdvice.getUserId()));
        setPhoneNumber(userAdvice.getPhoneNumber());
        setUserName(userAdvice.getUserName());
        setType(String.valueOf(userAdvice.getType()));
        setContent(userAdvice.getContent());
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }


}
